[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 POKEW IEXP1,IEXP2

 Function
  Write a word (0-65535) to a specified memory address.

 Syntax
  POKEW addr,value

   addr   - An integer expression with the address to write to.
   value  - An integer expression with the value to write to addr.

 Remarks
  You may have need to write directly to memory from time to time.  This
  statement complements PEEKW() and allows you to write a word value
  (0-65,535) to a specific memory location.

 Examples
  DATE    dob
  INTEGER addr
  VARADDR dob,addr
  POKEW addr,MKDATE(1967,10,31) ' Set dob the hard way

See Also: MKADDR() PEEKB() PEEKDW() PEEKW() POKEB POKEDW VARADDR VAROFF VARSEG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson